package org.vaadin.vaadinjit.widgetset.client.ui;

import com.google.gwt.core.client.JavaScriptObject;

/**
 * Abstract base class for AreaChart, BarChart and PieChart
 * 
 * @author jonkka
 *
 */
public abstract class JitChartOverlay extends JitOverlay {

	
	/**
	 * Overlays always specifies an empty protected constructor
	 * 
	 */
	protected JitChartOverlay(){}
	
	
	/**
	 * Use this method when updating values for the current JSON data. If the 
	 * items specified by the JSON data already exist in the graph then their 
	 * values will be updated.
	 * 
	 * @param json
	 */
	final native void updateJSON(JavaScriptObject json) /*-{
		this.updateJSON(json);
	}-*/;
	
	
}
